package com.pulse.common.utils.sor.domain;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public class SorInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 文件名 */
    private String filename;
    /** 文件格式版本 */
    private int format = 2;
    /** 文件版本号 */
    private String version = "2.00";
    /** 文件结构元数据 */
    private Mapblock mapblock;
    /** 每个块的详细信息 */
    private Blocks blocks;
    /** 通用参数 */
    private GenParamsVo genParams;
    /** 供应商参数 */
    private SupParamsVo supParams;
    /** 固定参数 */
    private FxdParamsVo fxdParams;
    /** 关键事件 */
    private KeyEventsVo keyEvents;
    /** 数据点 */
    private DataPtsVo dataPts;
    /** 校验和 */
    private CksumVo cksum;
    /** 其他信息 */
    private List<Map<String,Object>> others;

    public SorInfo(){
        mapblock = new Mapblock();
        blocks = new Blocks();
        genParams = new GenParamsVo();
        supParams = new SupParamsVo();
        fxdParams = new FxdParamsVo();
        keyEvents = new KeyEventsVo();
        dataPts = new DataPtsVo();
        cksum = new CksumVo();
        others = new ArrayList<>();
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public int getFormat() {
        return format;
    }

    public void setFormat(int format) {
        this.format = format;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public Mapblock getMapblock() {
        return mapblock;
    }

    public void setMapblock(Mapblock mapblock) {
        this.mapblock = mapblock;
    }

    public Blocks getBlocks() {
        return blocks;
    }

    public void setBlocks(Blocks blocks) {
        this.blocks = blocks;
    }

    public GenParamsVo getGenParams() {
        return genParams;
    }

    public void setGenParams(GenParamsVo genParams) {
        this.genParams = genParams;
    }

    public SupParamsVo getSupParams() {
        return supParams;
    }

    public void setSupParams(SupParamsVo supParams) {
        this.supParams = supParams;
    }

    public FxdParamsVo getFxdParams() {
        return fxdParams;
    }

    public void setFxdParams(FxdParamsVo fxdParams) {
        this.fxdParams = fxdParams;
    }

    public KeyEventsVo getKeyEvents() {
        return keyEvents;
    }

    public void setKeyEvents(KeyEventsVo keyEvents) {
        this.keyEvents = keyEvents;
    }

    public DataPtsVo getDataPts() {
        return dataPts;
    }

    public void setDataPts(DataPtsVo dataPts) {
        this.dataPts = dataPts;
    }

    public CksumVo getCksum() {
        return cksum;
    }

    public void setCksum(CksumVo cksum) {
        this.cksum = cksum;
    }

    public List<Map<String, Object>> getOthers() {
        return others;
    }

    public void setOthers(List<Map<String, Object>> others) {
        this.others = others;
    }
}
